package entity.sparemanage.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class warehouseDto {
    //入库单号，入库主题
    private String codeName;
    //入库单号
    private String wareCode;
    //入库主题
    private String wareName;
    /**
     * 入库日期
     */
    private Date wareTime;
    /**
     * 入库类型(1.采购入库，2.归还入库)
     */
    private Integer wareType;
    /**
     * 仓库ID
     */
    private Integer warehouseId;

    /**
     * 申请人ID
     */
    private Integer applicantId;

    /**
     * 入库人员ID
     */
    private Integer warePersonid;

    /**
     * 修改时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    private Integer page;

    private Integer pageSize;
}
